package cn.jobstart.es.listener;

import cn.jobstart.es.listener.event.EsEvent;
import cn.jobstart.pubInter.exception.SkException;

/**
 * @author sunke
 * @version 1.0
 * @Description es异常消息接口
 * @date 2023-09-22 11:05
 */
public interface IEsListener<E extends EsEvent> {


    /**
     * 消息
     * @param event
     * @throws SkException
     */
    void action(E event) ;

}
